package ${packageName}.${moduleName}.web.rto;

<#if formHead.existDate>
import java.util.Date;
</#if>
import com.fastrise.frjee.core.web.rto.IDEntityRTO;
import ${packageName}.${moduleName}.model.${ClassName};

/**   
 * ${functionName}Model
 * @author ${classAuthor}
 * @version ${classVersion}
 *
 */
public class ${ClassName}RTO extends IDEntityRTO<${ClassName}> {

	private static final long serialVersionUID = 1L;

	public ${ClassName}RTO() {
		super();
	}

	public ${ClassName}RTO(String id){
		this();
		this.id = id;
	}
	
	<#list formFieldList as po>
	<#if po.fieldNameLC != 'id'>
	//${po.fieldContent}
	private ${po.fieldJavaType} ${po.fieldNameLC};
	
	<#if po.fieldJavaType == 'Date'>
	//${po.fieldContent}搜索开始时间
	private String ${po.fieldNameLC}Start;
	//${po.fieldContent}搜索结束时间
	private String ${po.fieldNameLC}End;
	
	</#if>
	</#if>
	</#list>
	
	<#list formFieldList as po>
	<#if po.fieldNameLC != 'id'>
	/**
	 *方法: 取得${po.fieldContent}
	 *@return: ${po.fieldJavaType}  ${po.fieldContent}
	 */
	public ${po.fieldJavaType} get${po.fieldNameUC}(){
		return this.${po.fieldNameLC};
	}

	/**
	 *方法: 设置${po.fieldContent}
	 *@param: ${po.fieldJavaType} ${po.fieldNameLC}
	 */
	public void set${po.fieldNameUC}(${po.fieldJavaType} ${po.fieldNameLC}){
		this.${po.fieldNameLC} = ${po.fieldNameLC};
	}
	
	<#if po.fieldJavaType == 'Date'>
	public String get${po.fieldNameUC}Start() {
		return ${po.fieldNameLC}Start;
	}

	public void set${po.fieldNameUC}Start(String ${po.fieldNameLC}Start) {
		this.${po.fieldNameLC}Start = ${po.fieldNameLC}Start;
	}
	
	public String get${po.fieldNameUC}End() {
		return ${po.fieldNameLC}End;
	}

	public void set${po.fieldNameUC}End(String ${po.fieldNameLC}End) {
		this.${po.fieldNameLC}End = ${po.fieldNameLC}End;
	}
	
	</#if>
	</#if>
	</#list>
}
